#import <UIKit/UIKit.h>
#import "UIView+ZJFrame.h"
#import "ZJContentView.h"
#import "ZJTitleView.h"
@interface ZJScrollPageView : UIView
typedef void(^ExtraBtnOnClick)(UIButton *extraBtn);
@property (copy, nonatomic) ExtraBtnOnClick extraBtnOnClick;
@property (weak, nonatomic, readonly) ZJContentView *contentView;
@property (weak, nonatomic, readonly) ZJScrollSegmentView *segmentView;
@property(weak, nonatomic)id<ZJScrollPageViewDelegate> delegate;
- (instancetype)initWithFrame:(CGRect)frame segmentStyle:(ZJSegmentStyle *)segmentStyle titles:(NSArray<NSString *> *)titles parentViewController:(UIViewController *)parentViewController delegate:(id<ZJScrollPageViewDelegate>) delegate ;
- (void)setSelectedIndex:(NSInteger)selectedIndex animated:(BOOL)animated;
- (void)reloadWithNewTitles:(NSArray<NSString *> *)newTitles;
@end
